package com.wjx.jdkProxy.staticState;

/**
 * 代理类
 */
public class HelloProxy implements HelloInterface {

    private HelloInterface helloInterface = new Hello();

    @Override
    public void sayHello() {
        System.out.println("Before invoke sayHello");
        helloInterface.sayHello();
        System.out.println("after invoke sayHello");
    }
}
